#include "world.h"

int main() {
	World* world = new World("adin");
	world->setWeather();
	if (world->getWeather() == SUNNY) cout << "SUNNY"; else
	if (world->getWeather() == RAIN) cout << "RAIN"; else
	if (world->getWeather() == STORM) cout << "STORM"; 
	World::save("testsave.oph", (*world));
	world->doWeather();
	cout << (*world);
}
